package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.OrderItemsFight;
import com.addplus.townmall.server.api.model.town.OrderShipping;
import com.addplus.townmall.server.api.model.town.TownOrderFight;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 类名: TownOrderFightExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/11/11 5:02 AM
 * @description 类描述: 拼团订单出参类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TownOrderFightExpand extends TownOrderFight implements Serializable {

    private static final long serialVersionUID = -5815645304127533727L;
    /**
     * 头像地址
     */
    @TableField("head_portrait")
    private String headPortrait;

    /**
     * 拼团订单超时时间
     */
    private Date fightTimeOut;

    /**
     * 订单详情
     */
    private OrderItemsFight orderItemsFight;

    /**
     * 参团信息表
     */
    private List<TownOrderFightExpand> townOrderFightExpandList;

    /**
     * 物流信息
     */
    private OrderShipping orderShipping;

    /**
     * 是否已参该团
     */
    private Integer isJoin;

    /**
     * 拼团剩余总秒数
     */
    private Long surplusSecond;
}
